Skip to contentSkip to conversation

Blank screen after upgrade Fedora 34/XFCE -> Fedora 36/XFCE

Nouveau Klaus Ebbe Grue 2 participants 4 messages Aug 10, 2022 – Aug 18, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi [email protected],

I hope someone on this list can point me in some useful direction concerning the following problem:

After upgrade from Fedora 34/XFCE to Fedora 36/XFCE, I experience a black screen instead of a login prompt, unless I make a file named /etc/X11/xorg.conf.d/90-monitor.conf which contains eg

Section "Monitor"

        Identifier "DP-1"
        Option "PreferredMode" "720x480"

EndSection

Before the upgrade from Fedora 34 to 36, everything worked if the file looked like this:

Section "Monitor"

        Identifier "DP-1"
        Modeline "3840x2160" 533.25 3840 3888 3920 4000 2160 2163 2168 2222 +hsync -vsync
        Option "PreferredMode" "3840x2160"

EndSection

But that does not work on my Fedora 36.

I use XFCE instead of Gnome. XFCE seems to use X as opposed to Fedora in general and Gnome in particular who use Wayland.

If I hand compile the EDID from the screen, I find the following resolutions: Established timings: 800x600, 800x600, 800x600, 800x600, 832x624, 1024x768, 1024x768, 1024x768, 1280x1024. Standard timings: 1920x1080, 1680x1050, 1440x900, 1280x1024, 1280x960, 1280x720. Detailed timings: 3840x2160, 2560x1440, 1280x720, 720x480, 720x576, 1920x2160. The EDID looks fine as far as I can see.

I have tried all standard and detailed timings and three established timings (boot at runlevel 3, modify 90-monitor.conf, telinit 5, repeat). All resolutions except 3840x2160, 2560x1440 and 1920x1080 work acceptably. 3840x2160 and 2560x1440 give a black screen and a monitor poweroff. 1920x1080 gives a noisy, psychedelic screen which remotely resembles a login screen.

If I boot with no 90-monitor.conf at all then /var/log/Xorg.0.log seems to be in conflict with itself. First, all resolutions including 3840x2160 are recognized and agree with what I got out of reading the EDID. But then Xorg.0.log says:

[    38.974] (II) modeset(0): Not using default mode "2560x1440" (bad mode clock/interlace/doublescan)

But 3840x2160 is the default mode. 3840x2160 is the first detailed timing record. So it seems that first 3840x2160 is recognized, then ignored, then 2560x1440 is frowned upon, then used anyways.

I have attached /var/log/messages and /var/log/Xorg.0.log from a Fedora 36 and a Fedora 34 boot. I do not yet have a kernel log, but I hope I can get one by doing an ssh into the box after the monitor goes blank.

By the way, when I boot Fedora 36 to runlevel 3 then the monitor switches to a resolution of 3840x2160 and I get a tiny command line. It is when I then do telinit 5 that the screen goes blank.

In preparation of asking a question on the present list, I have run through https://nouveau.freedesktop.org/TroubleShooting.html in general and the section "Are you clear of other kernel drivers that break Nouveau" in particular. I think I have no other video drivers than Nouveau, but I have done this:

sudo find /usr -type f -iname "*nvidia*" -print > stdout 2>stderr

I can see some nvidia stuff in stdout. In particular, I can see a file named typec_nvidia.ko.xz, and TroubleShooting.html warns about a file named nvidia.ko. Can anyone on the list tell if there is something suspicious in the attached search-nvidia-stdout?

Cheers,

Klaus

#1 lore raw
Quoted 5 lines · Klaus Ebbe Grue

Hi [email protected],

I hope someone on this list can point me in some useful direction

concerning the following problem:

Quoted 3 lines

After upgrade from Fedora 34/XFCE to Fedora 36/XFCE, I experience a black

screen instead of a login prompt, unless I make a file named /etc/X11/xorg.conf.d/90-monitor.conf which contains eg

Quoted 8 lines

Section "Monitor"

        Identifier "DP-1"
        Option "PreferredMode" "720x480"

EndSection

Before the upgrade from Fedora 34 to 36, everything worked if the file

looked like this:

Quoted 4 lines

Section "Monitor"

        Identifier "DP-1"
        Modeline "3840x2160" 533.25 3840 3888 3920 4000 2160 2163 2168

2222 +hsync -vsync

Quoted 5 lines
        Option "PreferredMode" "3840x2160"

EndSection

But that does not work on my Fedora 36.

did you try not using any custom Xorg config, because I don't see why you are even trying that?

Quoted 1 line

I use XFCE instead of Gnome. XFCE seems to use X as opposed to Fedora in

general and Gnome in particular who use Wayland.

Quoted 2 lines

If I hand compile the EDID from the screen, I find the following

resolutions: Established timings: 800x600, 800x600, 800x600, 800x600, 832x624, 1024x768, 1024x768, 1024x768, 1280x1024. Standard timings:
1920x1080, 1680x1050, 1440x900, 1280x1024, 1280x960, 1280x720. Detailed
timings: 3840x2160, 2560x1440, 1280x720, 720x480, 720x576, 1920x2160. The EDID looks fine as far as I can see.

Quoted 2 lines

I have tried all standard and detailed timings and three established

timings (boot at runlevel 3, modify 90-monitor.conf, telinit 5, repeat). All resolutions except 3840x2160, 2560x1440 and 1920x1080 work acceptably. 3840x2160 and 2560x1440 give a black screen and a monitor poweroff. 1920x1080 gives a noisy, psychedelic screen which remotely resembles a login screen.

Quoted 2 lines

If I boot with no 90-monitor.conf at all then /var/log/Xorg.0.log seems

to be in conflict with itself. First, all resolutions including 3840x2160 are recognized and agree with what I got out of reading the EDID. But then Xorg.0.log says:

Quoted 2 lines
[    38.974] (II) modeset(0): Not using default mode "2560x1440" (bad

mode clock/interlace/doublescan)

Quoted 2 lines

But 3840x2160 is the default mode. 3840x2160 is the first detailed timing

record. So it seems that first 3840x2160 is recognized, then ignored, then 2560x1440 is frowned upon, then used anyways.

Quoted 2 lines

I have attached /var/log/messages and /var/log/Xorg.0.log from a Fedora

36 and a Fedora 34 boot. I do not yet have a kernel log, but I hope I can get one by doing an ssh into the box after the monitor goes blank.

Quoted 2 lines

By the way, when I boot Fedora 36 to runlevel 3 then the monitor switches

to a resolution of 3840x2160 and I get a tiny command line. It is when I then do telinit 5 that the screen goes blank.

Quoted 3 lines

In preparation of asking a question on the present list, I have run

through https://nouveau.freedesktop.org/TroubleShooting.html in general and the section "Are you clear of other kernel drivers that break Nouveau" in particular. I think I have no other video drivers than Nouveau, but I have done this:

Quoted 6 lines

sudo find /usr -type f -iname "*nvidia*" -print > stdout 2>stderr

I can see some nvidia stuff in stdout. In particular, I can see a file

named typec_nvidia.ko.xz, and TroubleShooting.html warns about a file named nvidia.ko. Can anyone on the list tell if there is something suspicious in the attached search-nvidia-stdout?

Quoted 7 lines

Cheers,

Klaus

#2 lore raw

Hi Karol,

Quoted 17 lines
Quoted 17 lines

After upgrade from Fedora 34/XFCE to Fedora 36/XFCE, I experience a black screen instead of a login prompt, unless I make a file named /etc/X11/xorg.conf.d/90-monitor.conf which contains eg

Section "Monitor"

        Identifier "DP-1"
        Option "PreferredMode" "720x480"

EndSection

Before the upgrade from Fedora 34 to 36, everything worked if the file looked like this:

Section "Monitor"

        Identifier "DP-1"
        Modeline "3840x2160" 533.25 3840 3888 3920 4000 2160 2163 2168 2222 +hsync -vsync
        Option "PreferredMode" "3840x2160"

EndSection

Quoted 4 lines
Quoted 2 lines

But that does not work on my Fedora 36.

did you try not using any custom Xorg config, because I don't see why you are even trying that?

Yes, I have tried not using any custom Xorg config. That gives me a blank screen under both Fedora 34 and Fedora 36.

Or, more precisely: My /etc/X11 contains no xorg.conf. My /etc/X11/xorg.conf.d only contains a file named 00-keyboard.conf which is written by systemd-localed(8). If I do not add an /etc/X11/xorg.conf.d/90-monitor.conf then I get a blank screen instead of a login screen.

My screen went blank first time at upgrade from 5.8.18-300.fc33.x86_64 to 5.9.9-200.fc33.x86_64, cf https://ask.fedoraproject.org/t/no-login-screen-after-upgrade/10618 . It was after that upgrade I added an /etc/X11/xorg.conf.d/90-monitor.conf. Now my screen has gone blank a second time at upgrade from Fedora 34 to 36, and I am a bit short of ideas what to do from here.

Cheers,
Klaus

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Hi [email protected]

As a follow up on my previous mail, I have noted that my problem is near-identical to https://gitlab.freedesktop.org/drm/intel/-/issues/1922

Issue 1922 was closed because the reporter wrote "sorry, I actually upgraded my system a while ago and I no longer have access to the one with this problem". Thus, the issue was no longer reproducible and was closed.

Now I have a system which reproduces issue 1922.

When I add " drm.debug=0x1ff log_buf_len=100M" as kernel parameters at boot, I get the attached output from dmesg from Fedora 36. I cannot attach the corresponding output from Fedora 34 because of the size limitations of the present mailing list. The interesting lines of dmesg-drm-stdout-34 read:

[    2.402685] [drm:drm_mode_debug_printmodeline [drm]] Modeline "3840x2160": 60 533250 3840 3888 3920 4000 2160 2163 2168 2222 0x48 0x9
[    2.402703] [drm:drm_mode_prune_invalid [drm]] Not using 3840x2160 mode: CLOCK_HIGH

The interesting lines of dmesg-drm-stdout-36 read:

[    2.926857] [drm:drm_mode_debug_printmodeline] Modeline "3840x2160": 60 533250 3840 3888 3920 4000 2160 2163 2168 2222 0x48 0x9
[    2.926861] [drm:drm_mode_prune_invalid] Not using 3840x2160 mode: CLOCK_HIGH

The difference between Fedora 34 and 36 is that under Fedora 34 I can enforce 3840x2160 using a suitable /etc/X11/xorg.conf.d/90-monitor.conf. That does not work under Fedora 36 where the monitor goes blank and then turns off instead of showing a login screen.

By the way, I have compared the pixel clock, horizontal clock and vertical clock to the maxima defined in the EDID, and I cannot spot any clock which is too high.

Question is: What should I do now? Should I open a new issue and link to issue 1922?

Cheers,
Klaus